﻿using CPPEI.Net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.ShareScreen.ServerProxy.ResponseHandler
{
    public class RDHandler : BaseResponseHandler<Contract.RespRDData>
    {
        protected override void OnHandle(NetPackage response, Contract.RespRDData responseData)
        {
            Event.UI.UIReceiveRDDataEvent @event = new Event.UI.UIReceiveRDDataEvent();
            @event.Data = responseData.Data;
            Event.UI.UIEventBus.PublishAsync(@event);
        }
    }
}
